from PIL import Image
im = Image.open("../flower.jpg")
im.resize((256,256)).rotate(90)
im.save("rotated.jpg","JPEG")
# Failed???
